<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./../template/templateMenu.xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html">
    
    <ui:define name="conteudo">
        <h:form id="fsremover"> 
            <p:panel header="Deseja realmente excluir #{musicaBean.musica.nomeMusica} ?">
                        <h:panelGrid columns="3">
                            <h:inputHidden value="#{musicaBean.musica.id}"/>
                            <p:commandButton ajax="false" value="Sim" action="#{musicaBean.excluir}" />
                            <p:commandButton ajax="false" value="Não" action="#{musicaBean.cancelar}"/>
                        </h:panelGrid>
                    </p:panel>
                </h:form>
    </ui:define>

</ui:composition>
